package com.hunttown.mes.rpc.api;

import com.hunttown.common.domain.Page;
import com.hunttown.mes.rpc.domain.MesProduceWorkmanshipDTO;
import com.hunttown.mes.rpc.domain.query.MesProduceWorkmanshipDTOQuery;

/**
 * created by wangjunfu on 2022-03-30 15:32:11
 */
public interface MesProduceWorkmanshipRpcService {

    MesProduceWorkmanshipDTO insert(MesProduceWorkmanshipDTO mesProduceWorkmanshipDTO);

    Boolean updateInfoById(MesProduceWorkmanshipDTO mesProduceWorkmanshipDTO);

    Boolean updateInfoByQuery(MesProduceWorkmanshipDTOQuery mesProduceWorkmanshipDTOQuery);

    MesProduceWorkmanshipDTO selectById(Integer id);

    MesProduceWorkmanshipDTO selectObjByQuery(MesProduceWorkmanshipDTOQuery mesProduceWorkmanshipDTOQuery);

    Page<MesProduceWorkmanshipDTO> getListForPage(MesProduceWorkmanshipDTOQuery mesProduceWorkmanshipDTOQuery);

    Boolean deleteById(Integer id);
}